package com.szqhyxj.youxiangju.biz.set;

import com.szqhyxj.youxiangju.sys.BaseResult;
import com.szqhyxj.youxiangju.sys.RetrofitFacade;

import io.reactivex.Observable;
import retrofit2.http.POST;

/**
 * Created by leung on 2018/11/2.
 */

public class SettingModel {

    public interface SettingService{
        @POST("user/login/out")
        Observable<BaseResult<Object>> out();
    }

    public static Observable<BaseResult<Object>> logout(){
        return RetrofitFacade.Companion.getRetrofit().create(SettingService.class).out();
    }
}
